package com.efast.dmom.aps.service;

import java.util.List;
import java.util.Map;

import com.efast.dmom.aps.bean.ResultBean;
import com.efast.dmom.aps.bean.Workshop;

public interface WorkShopService {

	public ResultBean save(Workshop workShop);

	public ResultBean update(Workshop workShop);

	public ResultBean delete(Workshop workShop);

	public Workshop getById(long id);

	public Workshop getByName(String name);

	public List<Workshop> getWorkshopByPlantId(long plantId);
	
	public List<Map<String,String>> getWorkshopCodeIdNameByPlantId(long plantId);

	public Workshop getByCode(String workshopCode);
}
